
const { ccclass, property } = cc._decorator;

@ccclass
export default class Game extends cc.Component {


  onLoad() {
    cc.director.getCollisionManager().enabled = true;  // 开启碰撞检测
  }


  public cutScene(e, data) {
    cc.director.loadScene(data);
  }
}
